package com.example.java.ai.langchain4j;

import dev.langchain4j.model.chat.ChatModel;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

import java.util.Map;

@SpringBootApplication
public class XiaozhiApp {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(XiaozhiApp.class);
        Map<String, ChatModel> beansOfType = context.getBeansOfType(ChatModel.class);
        System.out.println(beansOfType);

    }

}